/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package presenter;

import java.io.FileWriter;
import java.io.Writer;

/**
 *
 * @author jakson
 */
public class LimparArquivo {
    
     public void limpaArquivo(String codigo) {

        try {
            Writer out = new FileWriter(codigo);
            out.write("");
            out.flush();
            out.close();

        } catch (Exception e) {
            System.err.println(e);
        }
    }
    
}
